aboutsummaryrefslogtreecommitdiff
path: root/src/pages/create/[board]
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-10-24 23:19:33 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-10-24 23:19:33 +0300
commit9dfd6aa77518b3a1e6bfd926a3b7719c32a8c97f (patch)
treed10fc76ef816160871e3955aa75821bc5d5088d4 /src/pages/create/[board]
parent4ca81621e5b31922565b4149ebad1deb5161071a (diff)
use the new api
Diffstat (limited to 'src/pages/create/[board]')
-rw-r--r--src/pages/create/[board]/[tid].astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/create/[board]/[tid].astro b/src/pages/create/[board]/[tid].astro
index f26c0d4..6f9cb8b 100644
--- a/src/pages/create/[board]/[tid].astro
+++ b/src/pages/create/[board]/[tid].astro
@@ -12,7 +12,7 @@ const { board, tid } = Astro.params;
<Form board={board} tid={tid}>
<form id="form" method="post" action="/create/comment" onsubmit="document.getElementById('submit-button').disabled = true">
- <textarea name="CommentText" placeholder="Comment Contents" style="height: 150px; width: 350px;"></textarea>
+ <textarea name="content" placeholder="Comment Contents" style="height: 150px; width: 350px;"></textarea>
<br> <input id="submit-button" type="submit" value="Create Comment" />
<input id="image" type="file" accept=".png,.jpg,.gif,.bmp,.mp4" />
</form>